#pragma once
#include "GameObject.h"

class ConveyorBelt : public GameObject
{
	//Speed to affect things by on top/bottom
	//set in constructor
	float conveyorSpeed;

	//Whether the belt is clockwise/counter clockwise
	bool isClockwise;
	//Vertical/horizontal
	bool isVertical;

public:
	ConveyorBelt(void);
	virtual ~ConveyorBelt(void);

	virtual void Update(float deltaTime);
	virtual void Render(void) const;
	virtual void HandleCollision(GameObject& other, CollisionInfo& info);

	bool getIsClockwise() const {return isClockwise;};
	bool getIsVertical() const {return isVertical;};
	float getSpeed() const {return (float)conveyorSpeed * 0.051f;};

	void setIsVertical( bool vertical) {isVertical = vertical;};
	void setIsClockwise( bool clockwise) {isClockwise = clockwise;};

};

